home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / soft / development / Macromedia RoboHelp X5 / RoboHelpOffice.exe / Data1.cab / _BC3F993DE9414ABD938F5F5EFCBC352E < prev    next >
Encoding:
Text File  |  2003-11-24  |  7.6 KB  |  175 lines

  1. <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
  2.  
  3. <html>
  4.  
  5. <head>
  6. <title>Customizing the Search pane</title>
  7. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  8. <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
  9. <link rel="stylesheet" href="../styles_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
  10. <!--
  11. if (navigator.appName !="Netscape")
  12. {   document.write("<link rel='stylesheet' href='../styles.css'>");}
  13. //-->
  14. </script>
  15. <script type="text/javascript" language="JavaScript" title="BSSC Special Effects" src="../ehlpdhtm.js"></script><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
  16. <!--
  17. function reDo() {
  18.   if (innerWidth != origWidth || innerHeight != origHeight)
  19.      location.reload();
  20. }
  21. if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
  22.     origWidth = innerWidth;
  23.     origHeight = innerHeight;
  24.     onresize = reDo;
  25. }
  26. onerror = null; 
  27. //-->
  28. </script>
  29. <style type="text/css">
  30. <!--
  31. div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
  32. -->
  33. </style><script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
  34. <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
  35. <script type="text/javascript" language="javascript" src="../whver.js"></script>
  36. <script  type="text/javascript" language="javascript1.2">
  37.     <!--
  38.     var linkedScrollbarStyle = "<link rel='stylesheet' href='../wf_topics.css'>";
  39.     if( (!isTopicOnly()) &&(parent.gbFHPureHtml == null) )
  40.     {
  41.         document.write(linkedScrollbarStyle);
  42.     }
  43.     //-->
  44. </script>
  45. </head>
  46. <body lang="EN-US"><script type="text/javascript" language="javascript1.2">
  47. <!--
  48. if (window.addTocInfo)
  49. {
  50. addTocInfo("Using Template Flash Files\nCustomizing the Search pane");
  51.  
  52.   addShowButton();
  53. }
  54. if (window.setRelStartPage)
  55. {
  56. setRelStartPage("../FlashHelp_SDK.htm");
  57.  
  58.     sendTopicLoaded();
  59.     autoSync(1);
  60.     sendSyncInfo();
  61.     sendAveInfo();
  62.     sendBgColorInfo();
  63. }
  64. //-->
  65. </script>
  66. <h1>Customizing the Search pane</h1>
  67.  
  68. <p>Use the following information to customize the Search pane in an SDK 
  69.  <a href="../Basics_Template_Files/Basics_of_Template_Flash_Files_(FLA).htm">template</a>. 
  70.  </p>
  71.  
  72. <p class=Normal><b style="font-weight: bold;">File name: </b></p>
  73.  
  74. <p class=Normal>skin_search.fla</p>
  75.  
  76. <p class=Normal>This FLA file is used to generate the SWF file used in 
  77.  the background of the Search pane input field. The input field for entering 
  78.  search queries is loaded from <b>skin_textField.SWF</b>, but the search 
  79.  SWF file defines the background for the text field, as well as the behavior 
  80.  of the messages displayed when searching and when no results are found.</p>
  81.  
  82. <h4>Requirements:</h4>
  83.  
  84. <p class=Normal>The search FLA file needs to include a <b>Generic FH Search 
  85.  component</b> (fhgeneric_comp) on the Stage in the first frame, with instance 
  86.  name <b>fhgeneric_comp</b>.</p>
  87.  
  88. <p class=Normal>The following elements must be included in the search FLA:</p>
  89.  
  90. <ul>
  91.     
  92.     <li class=kadov-p-CBULLETS><p class=BULLETS><b style="font-weight: bold;">searchbackground_mc:</b> 
  93.  This movie clip is the background for the Search input field and will 
  94.  stretch at run time to fill the width of the navigation pane. (The Search 
  95.  input filed is a separate SWF file - see <a href="Customizing_text_fields.htm">Customizing 
  96.  text fields</a>). </p></li>
  97.     
  98.     <li class=kadov-p-CBULLETS><p class=BULLETS><b style="font-weight: bold;">searchprogress_mc:</b> 
  99.  This movie clip displays while a search is taking place. It can contain 
  100.  a ôprogressö movie, and also contains a text field where the progress 
  101.  string will be loaded at run time. The structure of this movie clip is:</p></li>
  102.     
  103.     <li class=kadov-p-CIndentedBullets><p class=IndentedBullets><b style="font-weight: bold;">searchprogress_mc:</b> 
  104.  Parent movie clip for displaying search progress. On this timeline, you 
  105.  can transition <b>searchprogresslabel_mc</b> in, or include a repeating 
  106.  progress movie clip (such as a wheel turning or progress bar to indicate 
  107.  the system is working).</p></li>
  108.     
  109.     <ul>
  110.         
  111.         <li class=kadov-p-CIndentedBullets><p class=IndentedBullets><b 
  112.  style="font-weight: bold;">searchprogresslabel_mc:</b> This movie clip 
  113.  can be manipulated on the <b>searchprogress_mc</b> timeline, but has no 
  114.  timeline of its own. It is just a container for the label.</p></li>
  115.         
  116.         <ul>
  117.             
  118.             <li class=kadov-p-CIndentedBullets><p class=IndentedBullets><span 
  119.  style="font-family: Symbol;"><span style="font: 7.0pt 'Times New Roman';"><font size=1 style="font-size:7pt;"> </font></span></span><b>searchprogresslabel_txt:</b> 
  120.  Populated with text at run time</p></li>
  121.         </ul>
  122.     </ul>
  123.     
  124.     <li class=kadov-p-CBULLETS><p class=BULLETS><b style="font-weight: bold;">searchnotopics_mc: 
  125.  </b>This movie clip displays when the search finds 0 results. This movie 
  126.  clip contains a text field where the ôno topics foundö string will be 
  127.  loaded at run time from <b>wfres.xml</b> (it will match the Help systemÆs 
  128.  language setting). Like searchprogress_mc, this movie clip can contain 
  129.  other movie clips. The structure of this movie clip is:</p></li>
  130.     
  131.     <li class=kadov-p-CIndentedBullets><p class=IndentedBullets><b style="font-weight: bold;">searchnotopics_mc:</b> 
  132.  Parent movie clip for displaying ôno topics foundö message. On this timeline, 
  133.  you can transition <b>searchnotopicslabel_mc</b> in, or include a movie 
  134.  clip that indicates nothing was found. </p></li>
  135.     
  136.     <ul>
  137.         
  138.         <ul>
  139.             
  140.             <li class=kadov-p-CIndentedBullets><p class=IndentedBullets><b 
  141.  style="font-weight: bold;">searchnotopicslabel_mc:</b> This movie clip 
  142.  can be manipulated on the <b>searchnotopics_mc</b> timeline, but has no 
  143.  timeline of its own. It is just a container for the label.</p></li>
  144.             
  145.             <ul>
  146.                 
  147.                 <li class=kadov-p-CIndentedBullets><p class=IndentedBullets><b 
  148.  style="font-weight: bold;">searchnotopicslabel_txt:</b> Populated with 
  149.  text at run time.</p></li>
  150.             </ul>
  151.         </ul>
  152.     </ul>
  153. </ul>
  154.  
  155. <p class=note><b style="font-weight: bold;">Note:</b> The text you see 
  156.  in the text fields (searchprogresslabel_txt, searchnotopicslabel_txt) 
  157.  in Flash will not be the text you see in the FlashHelp run time. The text 
  158.  in the run time is dynamically loaded and will override any text you have 
  159.  in this field. The formatting of your text field will not be altered at 
  160.  run time, however.</p>
  161.  
  162. <p>
  163.  
  164. <a href="javascript:void(0);" onClick="var e; if (parseInt(navigator.appVersion)>=4){e=event;}  if (parseInt(navigator.appVersion) >=2 && typeof(PopupMenu_Invoke) == 'function') PopupMenu_Invoke(e,'','Customizing backgrounds','Customizing_backgrounds_.htm','Customizing buttons','Customizing_buttons.htm','Customizing text fields','Customizing_text_fields.htm','Customizing text nodes','Customizing_text_nodes.htm','Customizing the About Box','Customizing_the_About_Box.htm','Customizing the Glossary pane','Customizing_the_Glossary_pane.htm','Customizing the Index pane','Customizing_the_Index_pane.htm','Customizing the scroll bar','Customizing_the_scroll_bar.htm','Customizing the Table of Contents pane','Customizing_table_of_contents_(TOC).htm','Using template Flash files','Using_Template_Flash_Files.htm');return false;" title="Related Topics"><img src="../ss_btn_related_topics.gif" border=0 height=18 width=101 alt="Related Topics"></a>
  165.  
  166.  
  167.  </p>
  168.  
  169. <script type="text/javascript" language="JavaScript" title="WebHelpRelatedTopics"><!--
  170. if (parseInt(navigator.appVersion) >= 3 && typeof (WritePopupMenuLayer) == "function")
  171.   WritePopupMenuLayer();
  172. //--></script>
  173. </body>
  174. </html>
  175.